package com.jj.net.impl;

import com.jj.net.ChannelListener;
import com.jj.net.Context;
import com.jj.net.Message;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Copyrights: QidianGroup@JJ
 *
 * @author: LuHan
 * @date: 2018/1/15, 10:44
 */
public abstract class AbstractChannelListenerImpl<T extends Message> implements ChannelListener {
    private static Logger logger = LoggerFactory.getLogger(AbstractChannelListenerImpl.class);


    @Override
    public void send(Message message, Context ctx) {
        ctx.getChannel().send(message);
    }

}
